package com.ecloud.gardensterminal.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecloud.gardensterminal.domain.GardensAreaDevice;
import com.ecloud.gardensterminal.domain.GardensDevice;

import java.util.List;

/**
 * @author Squbi
 */
public interface GardensAreaDeviceMapper extends BaseMapper<GardensAreaDevice> {
    List<GardensDevice> selectAllByAreaId(int areaId);

    int insertNewly(int areaId,int deviceId);
}
